#pragma once

class ReferenceCount
{
public:
	inline ReferenceCount() : m_count(0)
	{
	};
	inline void Grab()
	{
		++m_count;
	};
	inline int Release()
	{
		return (--m_count);
	};
private:
	int m_count;
};